package com.zyj.springboothapim.mapper;

import com.zyj.springboothapim.bean.Parking;
import org.apache.ibatis.annotations.*;

import java.util.List;

@Mapper
public interface ParkingMapper {

    //获取停车位所有信息
    public List<Parking> selectParking();

    //获取流动车位表static="流动"
    public List<Parking> selectMobileparking();

    //获取车位安排表static="固定"
    public List<Parking> selectFixedParkingSpace();

    //申请停车位
    public int updataParking(Parking parking);

    //通过停车位的id查找某个停车位
    public Parking selectParkingByid(Parking parking);

}
